package gui.menu.actions;

import gui.Frame;

import java.awt.event.ActionEvent;

import javax.swing.AbstractAction;

public class ExportPNGAction extends AbstractAction
{
   /**
    * 
    */
   private static final long serialVersionUID = 1L;
   /** Create this action for the given frame */
   private Frame frame;
   public ExportPNGAction(Frame frame)
   {
      super("Export as PNG");
      this.frame=frame;
   }

   @Override
   public void actionPerformed(ActionEvent arg0)
   {
      // TODO Auto-generated method stub
      frame.exportPNG();

   }

}
